<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>DesktopDepth</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">DesktopDepth()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#3A3966"><b>DesktopDepth</b></font>(#Desktop)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns the color depth of the specified desktop. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Desktop</i></td>
<td width="90%"> 
 
The index of the desktop. The first index always specifies the primary monitor. 
The first index value is zero. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the depth in bits-per-pixel: 1, 2, 4, 8, 15, 16, 24 or 32-bit 

 

</blockquote><p><b>备注</b></p><blockquote>

<a href="examinedesktops.html">ExamineDesktops()</a> must be called before using this function to retrieve information about the available desktops. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">  ExamineDesktops</font>()
<font color="#3A3966">  MessageRequester</font>("Display Information", "Current resolution = "+<font color="#3A3966">Str</font>(<font color="#3A3966">DesktopWidth</font>(0))+"x"+<font color="#3A3966">Str</font>(<font color="#3A3966">DesktopHeight</font>(0))+"x"+<font color="#3A3966">Str</font>(<font color="#3A3966">DesktopDepth</font>(0)))
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="examinedesktops.html">ExamineDesktops()</a>, 
<a href="desktopfrequency.html">DesktopFrequency()</a>, 
<a href="desktopheight.html">DesktopHeight()</a>, <a href="desktopname.html">DesktopName()</a>, <a href="desktopwidth.html">DesktopWidth()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center><a href="index.html">Desktop Index</a> - <a href="desktopfrequency.html">DesktopFrequency()</a> -&gt;<br><br>

</body></html>